Skip to content

feat(api): add fractional GPU group type - #2045

Draft
davidLif wants to merge 2 commits into
codex/nvfractions-readiness-statusfrom
codex/fractional-gpu-group-api
Draft

feat(api): add fractional GPU group type#2045
davidLif wants to merge 2 commits into
codex/nvfractions-readiness-statusfrom
codex/fractional-gpu-group-api

Conversation

@davidLif

Copy link
Copy Markdown
Collaborator

Description

Stack PR 6/9 for GPU sharing migration.

Base: codex/nvfractions-readiness-status
Head: codex/fractional-gpu-group-api

This adds the FractionalGpuGroup API shape to BindRequest and generated API code. Later scheduler and Binder PRs use this typed structure instead of passing fractional GPU placement only as string group IDs.

Related Issues

N/A

Checklist

Note: Ensure your PR title follows the Conventional Commits format (e.g., feat(scheduler): add new feature)

  • Self-reviewed
  • Added/updated tests (if needed)
  • Updated documentation (if needed)
  • Added a changelog fragment via make changelog (or applied the skip-changelog label). Do not edit CHANGELOG.md directly — pending fragments are folded into it at release time.

Breaking Changes

None.

Additional Notes

Validation run:

go test ./pkg/apis/scheduling/v1alpha2 ./pkg/apis/kai/v1/...

@davidLif
davidLif force-pushed the codex/fractional-gpu-group-api branch from 53e48f5 to bf8e68b Compare August 10, 2026 10:02
@davidLif
davidLif force-pushed the codex/fractional-gpu-group-api branch from bf8e68b to aa914e9 Compare August 11, 2026 14:03
@davidLif
davidLif force-pushed the codex/fractional-gpu-group-api branch from aa914e9 to ea39289 Compare August 11, 2026 20:25
@davidLif
davidLif force-pushed the codex/fractional-gpu-group-api branch from ea39289 to 31c842b Compare August 11, 2026 20:55
@davidLif
davidLif force-pushed the codex/fractional-gpu-group-api branch 2 times, most recently from 34fbee8 to 916d8e6 Compare August 11, 2026 22:04
@davidLif
davidLif force-pushed the codex/fractional-gpu-group-api branch 2 times, most recently from 4ac1f98 to 93e2094 Compare August 11, 2026 22:16
@github-actions

github-actions Bot commented Aug 11, 2026

Copy link
Copy Markdown

Total coverage: 54.6% -> 54.8% (delta 0.20%)

Merging this branch will not change overall coverage

Impacted Packages Coverage Δ 🤖
github.com/kai-scheduler/KAI-scheduler/pkg/apis/scheduling/v1alpha2 0.00% (ø)
github.com/kai-scheduler/KAI-scheduler/pkg/common/constants 0.00% (ø)

Coverage by file

Changed files (no unit tests)

Changed File Coverage Δ Total Covered Missed 🤖
github.com/kai-scheduler/KAI-scheduler/pkg/apis/scheduling/v1alpha2/bindrequest_types.go 0.00% (ø) 27 (+26) 0 27 (+26)
github.com/kai-scheduler/KAI-scheduler/pkg/apis/scheduling/v1alpha2/zz_generated.deepcopy.go 0.00% (ø) 123 (+10) 0 123 (+10)
github.com/kai-scheduler/KAI-scheduler/pkg/common/constants/constants.go 0.00% (ø) 2 0 2

Please note that the "Total", "Covered", and "Missed" counts above refer to code statements instead of lines of code. The value in brackets refers to the test coverage of that file in the old version of the code.

@davidLif
davidLif force-pushed the codex/fractional-gpu-group-api branch from 93e2094 to db18be4 Compare August 13, 2026 11:31
@davidLif
davidLif force-pushed the codex/fractional-gpu-group-api branch from db18be4 to d32475c Compare August 17, 2026 06:39
Signed-off-by: davidLif <davidshani12@gmail.com>
Signed-off-by: davidLif <davidshani12@gmail.com>
@davidLif
davidLif force-pushed the codex/fractional-gpu-group-api branch from d32475c to 6198be6 Compare August 17, 2026 11:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant